import flyio from 'flyio'
import Base from '../../config/testing.env'
let base=Base.BASE_API_FXS;
//oracleinfo.vue
export const getOracledbs = (params)=> { return  flyio.get(`${base}/api/show_oracledbs`,params)}
export const deleteOracledb   = (params)=> { return  flyio.post(`${base}/api/delete_oracledbs`,params)}
export const updateOracledb   = (params)=> { return  flyio.post(`${base}/api/update_oracledbs`,params)}
export const addOracledb      = (params)=> { return  flyio.post(`${base}/api/add_oracledbs`,params)}
//etl_test.vue
export const uploadFileUrl = `${base}/api/uploadFile`
export const getEtlTasks = (params)=> { return  flyio.get(`${base}/api/etl_show_tasks`,params)}
export const getEtlTaskMxxx   = (params)=> { return  flyio.post(`${base}/api/show_etl_task_mxxx`,params)}
export const getEtlTaskMxxxAll   = (params)=> { return  flyio.post(`${base}/api/show_etl_task_mxxx_all`,params)}
export const updateEtlTaskMxxx   = (params)=> { return  flyio.post(`${base}/api/update_etl_task_mxxx`,params)}
export const implementEtlTask   = (params)=> { return  flyio.post(`${base}/api/etl_implement_task`,params)}
export const deleteEtlTasks   = (params)=> { return  flyio.post(`${base}/api/etl_del_tasks`,params)}
export const getPdmFiles   = (params)=> { return  flyio.get(`${base}/api/getpdmfiles`,params)}
export const addEtlTasks   = (params)=> { return  flyio.post(`${base}/api/etl_add_tasks`,params)}
export const updateEtlTasks   = (params)=> { return  flyio.post(`${base}/api/etl_update_tasks`,params)}
//bjg_test.vue
export const getBjgTasks   = (params)=> { return  flyio.get(`${base}/api/bjg_show_tasks`,params)}
export const getBjgTaskMxxx   = (params)=> { return  flyio.post(`${base}/api/show_bjg_task_mxxx`,params)}
export const getBjgTaskMxxxAll   = (params)=> { return  flyio.post(`${base}/api/show_bjg_task_mxxx_all`,params)}
export const updateBjgTaskMxxx   = (params)=> { return  flyio.post(`${base}/api/update_bjg_task_mxxx`,params)}
export const implementBjgTask   = (params)=> { return  flyio.post(`${base}/api/bjg_implement_task`,params)}
export const deleteBjgTasks   = (params)=> { return  flyio.post(`${base}/api/bjg_del_tasks`,params)}
export const addBjgTasks   = (params)=> { return  flyio.post(`${base}/api/bjg_add_tasks`,params)}
export const updateBjgTasks   = (params)=> { return  flyio.post(`${base}/api/bjg_update_tasks`,params)}


